import random

def generate_random_password(length):
    src = []
    src += [chr(c) for c in range(ord('a'), ord('z') + 1)]
    src += [chr(c) for c in range(ord('A'), ord('Z') + 1)]
    src += [chr(c) for c in range(ord('0'), ord('9') + 1)]

    pwd = []
    for i in range(length):
        pwd.append(random.choice(src))

    return "".join(pwd)


pwd_group = [generate_random_password(8) for i in range(10)]

print(pwd_group)
